package com.jiaai.cloud.base.redis.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 *   缓存
 * </p>
 * @title  ${缓存}
 * @author 佳爱网络科技
 * @version V1.0
 * @since 2017-7-10
 */
@ConfigurationProperties(prefix ="redis")

public class JedisProperties {  
	private String host;  
    private int timeOut=9000;
    private String password;
    private int port;  
      
    private int maxTotal;  
      
    private int maxIdle;  
    private int minIdle; 
      
    private int maxWaitMillis;  
  
    public String getHost() {  
        return host;  
    }  
  
    public void setHost(String host) {  
        this.host = host;  
    }  
  
    public int getPort() {  
        return port;  
    }  
  
    public void setPort(int port) {  
        this.port = port;  
    }  
  
    public int getMaxTotal() {  
        return maxTotal;  
    }  
  
    public void setMaxTotal(int maxTotal) {  
        this.maxTotal = maxTotal;  
    }  
  
    public int getMaxIdle() {  
        return maxIdle;  
    }  
  
    public void setMaxIdle(int maxIdle) {  
        this.maxIdle = maxIdle;  
    }  
  
    public int getMaxWaitMillis() {  
        return maxWaitMillis;  
    }  
  
    public void setMaxWaitMillis(int maxWaitMillis) {  
        this.maxWaitMillis = maxWaitMillis;  
    }

	

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getMinIdle() {
		return minIdle;
	}

	public void setMinIdle(int minIdle) {
		this.minIdle = minIdle;
	}

	public int getTimeOut() {
		return timeOut;
	}

	public void setTimeOut(int timeOut) {
		this.timeOut = timeOut;
	}  
      
}  